Equational Speci cations : Design , Implementation , and Reasoning
نویسندگان
چکیده
Sets of equations can be used to specify, implement, and reason about software. We discuss how to automate these tasks for constructor-based, convergent rewrite systems. Using incremental design strategies, we obtain completely deened, consistent, and suuciently complete speciications. Direct implementations of speciications as term rewriting systems serve as software prototypes of systems. We use prototypes to determine that speciications are consistent with our intuitive expectations during design and with more eecient implementations during testing. We describe an automated tool for reasoning about both the properties a speciication and the cor-rectness of its implementation. Our approach is applicable to a relatively small class of speciications, but within this class it appears to be eeective for designing high quality speciications and for eeectively using these speciications for a variety of other tasks arising during the software lifecycle.
منابع مشابه
Sufficient Completeness Checking with Propositional Tree Automata
Su cient completeness means that enough equations have been speci ed, so that the functions of an equational speci cation are fully de ned on all relevant data. This is important for both debugging and formal reasoning. In this work we extend su cient completeness methods to handle expressive speci cations involving: (i) partiality; (ii) conditional equations; and (iii) deductionmodulo axioms. ...
متن کاملAutomating Test Case Generation from Z Speci cations with Isabelle Ste
We use a structure preserving encoding of Z in the higherorder logic instance of the generic theorem prover Isabelle to derive test cases from Z speci cations. This work shows how advanced theorem provers can be used with little e ort to provide tool support for Z beyond mere type-checking. Experience with a non-trivial example shows that modular reasoning according to the structure of a speci ...
متن کاملFormal Aspects of Workkow Management Part 1: Semantics
Work ows are composite activities that achieve interoperation of a variety of system and human tasks. Work ows must satisfy subtle domain-speci c integrity and organizational requirements. Consequently, exibility in execution is crucial. A promising means to achieve exibility is through declarative speci cations (Part 1) with automatic distributed scheduling techniques (Part 2). Intertask depen...
متن کاملAn Abstract Account of Composition
We present a logic of speci cations of reactive systems The logic is independent of particular computational models but it captures common patterns of reasoning with assumption commitment speci ca tions We use the logic for deriving proof rules for TLA and CTL spec i cations Assumption commitment speci cations Modularity is a central concern in the design of speci cation methods In general term...
متن کاملTransparent and Opaque Interpretations of Datatypes
Standard ML employs an opaque (or generative) interpretation of datatype speci cations, in which every datatype speci cation provides a new, abstract type that is di erent from any other type, including other identically speci ed datatypes. An alternative interpretation is the transparent one, in which a datatype speci cation exposes the underlying recursive type implementation of the datatype....
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007